home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 July: Mac OS SDK / Dev.CD Jul 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Printer Drivers… / LaserWriterIIsc (New GX v1.1) / LaserWriterIISC.make < prev    next >
Encoding:
Text File  |  1996-06-15  |  7.4 KB  |  207 lines  |  [TEXT/MPS ]

  1. #==============================================================================================
  2. #
  3. #    Make FILE:        LaserWriterIISC.make
  4. #
  5. #    VERSION:            1.0
  6. #
  7. #    COPYRIGHT:        (c) 1992-1996 Apple Computer Inc.
  8. #                        All rights reserved.
  9. #
  10. #    PURPOSE:            This file contains the build commands for the LaserWriterIISC driver.
  11. #
  12. #   6/14/96 - cn  - Updated to support MPW Pro #19.
  13. #   8/28/94 - dmh - Finalized for SDK.
  14. #  12/18/93 - dmh - Updated for the b3 seed.
  15. #    9/13/93 - dmh - Updated for the b2 seed.
  16. #    4/26/93 - dmh - Made makefile totally self-supporting for b1 seed.
  17. #    4/26/93 - dh  - Made makefile totally self-supporting for f1 seed.
  18. #
  19. #==============================================================================================
  20.  
  21. #======= Point this variable to your GX libraries directory =======
  22.  
  23. GXLibrariesSources            =    {MPW}GXLibraries:
  24. GXCompatibilityInterfaces    =    {MPW}GX Compatibility Interfaces:
  25.  
  26. #========== Directories Containing Source and Object Files ==========
  27.  
  28. Objects                    =    :Objects:
  29. Sources                    =    
  30.  
  31. #========== Compiler Options ==========
  32.  
  33. AsmOptions                =    -case obj
  34. RezOptions                =    -d SystemSevenOrLater=1 -i "{Rincludes}"
  35. COptions                =    -d applec -b2 -i "{CIncludes}" -i "{GXLibrariesSources}" -i "{GXCompatibilityInterfaces}"
  36. LinkOptions                =    -ra =resSysHeap,resPurgeable
  37.  
  38. #========== Printing Manager Dependent Header Files ==========
  39.  
  40. PrintManagerHeaderFiles    =    "{GXCompatibilityInterfaces}PrintingManager.h"        ∂
  41.                             "{GXCompatibilityInterfaces}PrintingMessages.h"        ∂
  42.                             "{GXCompatibilityInterfaces}PrintingExtensions.h"    ∂
  43.                             "{CIncludes}Collections.h"                            ∂
  44.                             "{CIncludes}GXMessages.h"                            ∂
  45.                             "{GXCompatibilityInterfaces}PrintingResTypes.h"        ∂
  46.                             "{GXCompatibilityInterfaces}PrintingErrors.h"
  47.  
  48. GraphicsHeaderFiles        =    "{GXCompatibilityInterfaces}graphics routines.h"    ∂
  49.                             "{GXLibrariesSources}GraphicsLibraries.h"            ∂
  50.                             "{GXCompatibilityInterfaces}math routines.h"            
  51.  
  52. #========== Files to Link into OldAPI Segment ==========
  53.  
  54. OldAPISegObjs    =    "{Objects}OldAPIMsgJumpTable.a.o"        ∂
  55.                     "{Objects}OldAPIMessageIntf.c.o"            ∂
  56.                     "{Libraries}MacRuntime.o"
  57.  
  58.  
  59. #========== Files to Link into Universal Message Segment ==========
  60.  
  61. UnivSegObjs        =    "{Objects}UniversalMsgJumpTable.a.o"        ∂
  62.                     "{Objects}LaserSCIntf.c.o"                    ∂
  63.                     "{Objects}SCPrinterStatus.c.o"                ∂
  64.                     "{Objects}UniversalMessageIntf.c.o"            ∂
  65.                     "{Objects}QDLibrary.c.o"                    ∂
  66.                     "{Objects}ColorLibrary.c.o"                    ∂
  67.                     "{CLibraries}StdCLib.o"                        ∂
  68.                     "{Libraries}"MacRuntime.o                    ∂
  69.                     "{Libraries}"Interface.o                    
  70.  
  71.  
  72. #========== Files to Link into the Chooser PACK ==========
  73.  
  74. ChooserPackObjs =    "{Objects}ChooserSupport.a.o"                ∂
  75.                     "{Objects}ChooserSupport.c.o"                ∂
  76.                     "{Libraries}"Interface.o                    
  77.  
  78. #========== Files to Link into the Chooser LDEF ==========
  79.  
  80. ChooserLDEFObjs =    "{Objects}ChooserSupport.c.o"                ∂
  81.                     "{Libraries}"Interface.o                    
  82.  
  83. #========== Link and Rez Build Statements ==========
  84.  
  85. "LaserWriterIISC"        ƒ        {OldAPISegObjs}                                 ∂
  86.                                 {UnivSegObjs}                                    ∂
  87.                                 {ChooserPackObjs}                                ∂
  88.                                 {ChooserLDEFObjs}                                ∂
  89.                                 "{Sources}LaserWriterIISC.make"            ∂
  90.                                 "{Sources}LaserSCResources.r"                ∂
  91.                                 "{Sources}OldAPIResources.r"                ∂
  92.                                 "{Sources}UniversalMessageResources.r"        
  93.         Link {UnivSegObjs}                                    ∂
  94.               {LinkOptions}                                    ∂
  95.               -rt pdvr=0                                        ∂
  96.               -sg "LaserWriterIISC"                            ∂
  97.               -m SD_UniversalMsgJumpTable                    ∂
  98.               -o "{Objects}LWSC_UnivSeg" 
  99.         Link {OldAPISegObjs}                                    ∂
  100.               {LinkOptions}                                    ∂
  101.               -rt pdvr=1                                        ∂
  102.               -sg "LaserWriterIISC"                            ∂
  103.               -m SD_OldAPIMsgJumpTable                        ∂
  104.               -o "{Objects}LWSC_OldAPISeg" 
  105.         Link    {ChooserPackObjs}                                ∂
  106.                 -rt PACK=-4096                                    ∂
  107.                 -sg PrintingPACK                                ∂
  108.                 -m EntryPoint                                    ∂
  109.                 -o "{Objects}LWSC_PACK"
  110.         Link    {ChooserLDEFObjs}                                ∂
  111.                 -w                                                    ∂
  112.                 -rt LDEF=-4096                                    ∂
  113.                 -sg LDEF                                            ∂
  114.                 -m LDEF                                            ∂
  115.                 -o "{Objects}LWSC_LDEF"
  116.         Rez    {RezOptions} -c 'scSC' -t 'pdvr' -ov -s {Objects}                    ∂
  117.                 -o "LaserWriterIISC" "{Sources}LaserSCResources.r" "{Sources}OldAPIResources.r"    ∂
  118.                 "{Sources}UniversalMessageResources.r" "{Sources}ChooserSupport.r" -append
  119.  
  120.  
  121. #========== Assemble Build Statements - OldAPIMsgJumpTable.a ==========
  122.  
  123. "{Objects}OldAPIMsgJumpTable.a.o"    ƒ     "{Sources}OldAPIMsgJumpTable.a"        ∂
  124.                                         "{Sources}LaserWriterIISC.make"
  125.     Asm {AsmOptions} {MakeJumpTable} "{Sources}OldAPIMsgJumpTable.a" -o "{Objects}OldAPIMsgJumpTable.a.o"
  126.     
  127.  
  128. #========== Assemble Build Statements - UniversalMsgJumpTable.a ==========
  129.  
  130. "{Objects}UniversalMsgJumpTable.a.o"    ƒ     "{Sources}UniversalMsgJumpTable.a"        ∂
  131.                                             "{Sources}LaserWriterIISC.make"
  132.     Asm {AsmOptions} {MakeJumpTable} "{Sources}UniversalMsgJumpTable.a" -o "{Objects}UniversalMsgJumpTable.a.o"
  133.     
  134.  
  135. #========== Assemble Build Statements - ChooserSupport.a ==========
  136.  
  137. "{Objects}ChooserSupport.a.o"    ƒ     "{Sources}ChooserSupport.a"        ∂
  138.                                     "{Sources}LaserWriterIISC.make"
  139.     Asm {AsmOptions} {MakeJumpTable} "{Sources}ChooserSupport.a" -o "{Objects}ChooserSupport.a.o"
  140.     
  141.  
  142. #========== Compile Build Statements - LaserSCIntf.c ==========
  143.  
  144. "{Objects}QDLibrary.c.o"        ƒ "{GXLibrariesSources}QDLibrary.c"
  145.     SC {COptions} -o {Objects} "{GXLibrariesSources}QDLibrary.c"
  146.  
  147. "{Objects}ColorLibrary.c.o"        ƒ "{GXLibrariesSources}ColorLibrary.c"
  148.     SC {COptions} -o {Objects} "{GXLibrariesSources}ColorLibrary.c"
  149.  
  150.  
  151. "{Objects}LaserSCIntf.c.o"        ƒ    "{Sources}LaserSCIntf.c"            ∂
  152.                                     {PrintManagerHeaderFiles}            ∂
  153.                                     {GraphicsHeaderFiles}                ∂
  154.                                     "{Sources}LaserWriterIISC.make"        ∂
  155.                                     "{Sources}LaserSCResources.h"         ∂
  156.                                     "{Sources}LaserSCIntf.h"
  157.     SC "{Sources}LaserSCIntf.c" -o "{Objects}LaserSCIntf.c.o"  {COptions}
  158.  
  159.  
  160. #========== Compile Build Statements - OldAPIMessageIntf.c ==========
  161.  
  162. "{Objects}OldAPIMessageIntf.c.o"    ƒ    "{Sources}OldAPIMessageIntf.c"    ∂
  163.                                         {PrintManagerHeaderFiles}            ∂
  164.                                         {GraphicsHeaderFiles}                ∂
  165.                                         "{Sources}LaserWriterIISC.make"    ∂
  166.                                         "{Sources}LaserSCResources.h"     ∂
  167.                                         "{Sources}OldAPIMessageIntf.h"
  168.     SC "{Sources}OldAPIMessageIntf.c" -o "{Objects}OldAPIMessageIntf.c.o"  {COptions}
  169.  
  170.  
  171. #========== Compile Build Statements - SCPrinterStatus.c ==========
  172.  
  173. "{Objects}SCPrinterStatus.c.o"    ƒ    "{Sources}SCPrinterStatus.c"        ∂
  174.                                     {PrintManagerHeaderFiles}            ∂
  175.                                     {GraphicsHeaderFiles}                ∂
  176.                                     "{Sources}LaserWriterIISC.make"        ∂
  177.                                     "{Sources}LaserSCResources.h"         ∂
  178.                                     "{Sources}LaserSCIntf.h"            ∂
  179.                                     "{Sources}SCPrinterStatus.h"
  180.     SC "{Sources}SCPrinterStatus.c" -o "{Objects}SCPrinterStatus.c.o"  {COptions}
  181.  
  182.  
  183. #========== Compile Build Statements - UniversalMessageIntf.c ==========
  184.  
  185. "{Objects}UniversalMessageIntf.c.o"    ƒ    "{Sources}UniversalMessageIntf.c"        ∂
  186.                                         {PrintManagerHeaderFiles}                ∂
  187.                                         {GraphicsHeaderFiles}                    ∂
  188.                                         "{Sources}LaserWriterIISC.make"            ∂
  189.                                         "{Sources}LaserSCResources.h"             ∂
  190.                                         "{Sources}LaserSCIntf.h"                ∂
  191.                                         "{Sources}SCPrinterStatus.h"            ∂
  192.                                         "{Sources}UniversalMessageIntf.h"
  193.     SC "{Sources}UniversalMessageIntf.c" -o "{Objects}UniversalMessageIntf.c.o"  {COptions}
  194.  
  195.  
  196. #========== Compile Build Statements - ChooserSupport.c ==========
  197.  
  198. "{Objects}ChooserSupport.c.o"    ƒ    "{Sources}ChooserSupport.c"            ∂
  199.                                     {PrintManagerHeaderFiles}            ∂
  200.                                     {GraphicsHeaderFiles}                ∂
  201.                                     "{Sources}LaserWriterIISC.make"        ∂
  202.                                     "{Sources}ChooserSupport.a"         ∂
  203.                                     "{Sources}ChooserSupport.r"             
  204.     SC "{Sources}ChooserSupport.c" -o "{Objects}ChooserSupport.c.o"  {COptions}
  205.  
  206.  
  207.